//
//  Users.h
//  QuickCure1
//
//  Created by maoge on 16/10/30.
//  Copyright © 2016年 maoge. All rights reserved.
//


#import <Foundation/Foundation.h>

@interface Users : NSObject
/** 性别 */
@property (nonatomic, copy) NSString *gender;

/** 姓名 */
@property (nonatomic, copy) NSString *true_name;

/** 手机 */
@property (nonatomic, copy) NSNumber *mobile_number;

/** 省 id */
@property (nonatomic, copy) NSNumber *province_id;

/** 县 id */
@property (nonatomic, copy) NSNumber *county_id;

/** 年龄 */
@property (nonatomic, copy) NSNumber *age;

/** user_id */
@property (nonatomic, copy) NSNumber *user_id;

/** 体重 */
@property (nonatomic, copy) NSNumber *weight;

/** 城市 id */
@property (nonatomic, copy) NSNumber *city_id;

/** 是否合格证明 0 1*/
@property (nonatomic, copy) NSNumber *is_certify;

/** 省份 */
@property (nonatomic, copy) NSString *address;

/** 卡片类型 */
@property (nonatomic, copy) NSNumber *card_type;

/** 密码 */
@property (nonatomic, copy) NSString *easymob_password;

@property (nonatomic, copy) NSString *login_token;

/** 头像图片 */
@property (nonatomic, copy) NSString *head_photo;

@property (nonatomic, copy) NSNumber *card_number;

/** 身高 */
@property (nonatomic, copy) NSNumber *height;


//增加属性
@property(nonatomic,copy)NSString *account;
@property(nonatomic,copy)NSString *province;
@property(nonatomic,copy)NSString *city;

@property (nonatomic, copy) NSNumber *pid;


/** 快速创建对象 */
+ (instancetype)userWithDic:(NSDictionary *)dic;

//插入Person
- (BOOL)insertUser;

//更新,修改Person
- (BOOL)updateUser;

//删除Person
- (BOOL)deleteUser;

//查询库中所有Person的集合
- (NSArray *)qureyUsers;

@end


/**
 responseObject = {
 msg = OK;
 data = {
 gender = 1;
 mobile_number = 13269130063;
 province_id = 370000;
 county_id = 0;
 age = 28;
 user_id = 1000089;
 true_name = 王云财;
 weight = 156.0;
 city_id = 0;
 is_certify = 1;
 address = 山东省;
 card_type = 1;
 easymob_password = 123456;
 associate_id = <null>;
 login_token = 321017f8952c7a60fd626c470dd452b9;
 easymob_id = u1000089;
 head_photo = http://hdkj-web1.chinacloudapp.cn:8080/res/1071000089-1451374760656.png;
 card_number = 110109198707061355;
 height = 185.0;
 }
 ;
 code = 0;
 }
 
 
 */
